package com.baizhi.controller;/**
 * @Author:luoht
 * @Description：
 * @Date：Create in 20:27 2018/12/24
 */

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: SpringCloud
 * @description:
 * @author: luoht
 * @create: 2018-12-24 20:27
 **/
@RestController
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/world")
    public String SayHello(String name){
        System.out.println("name="+name);
        return "我是"+name;

    }



}
